class CreateTeams < ActiveRecord::Migration
  def self.up
    create_table :teams, :primary_key => "team_id" do |table|
      table.column :team_name, :string, :null => "false"
      table.column :lock, :boolean, :null => false
      table.column :created_at, :date, :null => false
    end
  end

  def self.down
    drop_table :teams
  end
end
